package com.cloud.wms.ui.main.contract;


import com.cloud.core.base.BasePresenter;
import com.cloud.core.base.BaseView;
import com.cloud.wms.ui.main.entity.ModelEntity;
import com.cloud.wms.ui.main.entity.TaskEntity;

/**
 * @Author:Chen
 * @Date: 2021-01-14 15:49
 * @Description:
 */
public interface MainContract {
    interface View extends BaseView {
    }

    interface Presenter extends BasePresenter<View> {
        void matchPath(ModelEntity entity);

        void loadWaitTask(String taskCode);

        void loadMineTask(String taskMenuId);

        void receiveTask(TaskEntity taskEntity, boolean isExecute);

        void receiveOrderTask(TaskEntity taskEntity, boolean isExecute);

        void refuseTask(TaskEntity taskEntity);

        void executeTask(TaskEntity taskEntity);

        void executeOrderTask(TaskEntity taskEntity);

        void searchTask(String taskCode, String searchKey, boolean isWaitTask);
    }
}
